This significantly reduces the render time for fullscreen zoom mode.
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3305
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1899>
this._updateMousePosition();
this._connectSignals();
} else {
+ Main.uiGroup.set_opacity(255);
this._disconnectSignals();
this._destroyActors();
}
if (this.isActive() && this._isMouseOverRegion())
this._magnifier.hideSystemCursor();
+
+ const uiGroupIsOccluded = this.isActive() && this._isFullScreen();
+ Main.uiGroup.set_opacity(uiGroupIsOccluded ? 0 : 255);
}
_changeROI(params) {